package com.haois.mp.wechat.constants.Enum;

/**
 * description
 *
 * @author RuiHaoZ on GuangZhou
 * @date 2018/9/5 21:46
 */
public enum MenuEnum {
    BTN_REMIND_SERVER("remindServer","提醒服务","/wxmp/remind/server"),
    BTN_INFO_SERVICE("infoService", "我的", ""),
    BTN_INFO_MINE("mine", "个人信息", "/wxmp/user/info"),
    BTN_INFO_LOGIN("login", "登录", "/wxmp/user/login"),
    BTN_SHARE_MEMBER("shareMember", "分享信息", "/wxmp/share/member"),
    BTN_INFO_APPLY("infoApply", "申请", "/wxmp/user/apply"),
    BTN_INFO_SCAN("infoScan", "扫一扫", ""),
    BTN_INFO_QUERY("infoQuery", "查询", "/wxmp/info/query"),
    BTN_INFO_QUICK("infoQuick", "快速查找", ""),
    BTN_INFO_MORE("infoMore", "更多服务", ""),
    BTN_GROUP_SERVICE("groupService", "团队", ""),
    BTN_GROUP_MOBILE("groupMobile", "手机群录", "/wxmp/group/group"),
    BTN_GROUP_INFO("groupInfo", "组织介绍", "/wxmp/group/info"),
    BTN_GROUP_JOIN("groupAdd", "加入团队", "/wxmp/group/add"),
    BTN_GROUP_MEM_STATE("memState", "信息管理", "/wxmp/group/memState"),
    BTN_GROUP_FRAME("groupFrame", "组织架构", "/wxmp/group/frame"),
    BTN_GROUP_NOTICE("groupNotice", "公告信息", "/wxmp/group/notice"),
    BTN_APP_SERVICE("appService", "程序", ""),
    BTN_CONTENT_ME("contentMe", "联系我", ""),
    BTN_MINI_PROGRAM("miniProgram", "小程序", "/wxmp/info/miniProgram"),
    BTN_YELLOW_PAGES("yellowPages", "更多", "/wxmp/yellow/pages"),
    BTN_INFO_WECHAT("infoWeChat", "公众号", "/wxmp/info/wechat"),
    BTN_AI_CHAT("aiChat", "尬聊服务", ""),
    BTN_DRIVER_WZ("wzRecord", "违章记录", "/wxmp/driver/wz/records"),
    BTN_DRIVER_LINK("driverLink", "车主服务", "/wxmp/driver/server"),
    BTN_DRIVER_EDIT("driverEdit", "增加驾驶证", "/wxmp/driver/driver/edit"),
    BTN_VEHICLE_EDIT("vehicleEdit", "增加车辆", "/wxmp/driver/vehicle/edit");


    private String key;
    private String name;
    private String url;

    // 构造方法，注意：构造方法不能为public，因为enum并不可以被实例化
    MenuEnum(String key, String name, String url) {
        this.name = name;
        this.key = key;
        this.url = url;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }
}
